package omg.ligong.domain;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author weishuang create time 2011-4-20����08:43:16
 */
public class Major implements Serializable {

	private College college;

	private int majorid;

	private Date createDate;

	private boolean enable;

	private String description;

	private String name;

	public Major(int majorid, College college, Date createDate, boolean enable,
			String description, String name) {
		super();
		this.majorid = majorid;
		this.college = college;
		this.createDate = createDate;
		this.enable = enable;
		this.description = description;
		this.name = name;
	}

	public int getMajorid() {
		return majorid;
	}

	public void setMajorid(int majorid) {
		this.majorid = majorid;
	}

	public College getCollege() {
		return college;
	}

	public void setCollege(College college) {
		this.college = college;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}